<template>
  <div class="f ac" @click="clickMe">
    <div
      v-if="value.includes('</svg>')"
      v-html="processVal"
      :style="{
        width: String(width).replace('px', '') + 'px',
        height:String(height).replace('px', '') + 'px',
        ...styleObj,
      }"
    >
    </div>
    <img
      v-else
      :src="value"
      :style="{
        width:String(width).replace('px', '') + 'px',
        height:String(height).replace('px', '') + 'px',
        ...styleObj,
      }"
      alt=""
    >
  </div>
</template>
<script src='./index.js'></script>
<style scoped>
</style>